package com.glela.live.mapper;

import com.glela.live.model.LiveShareClickRecord;
import com.glela.live.model.ShareRankingListVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by jinweiwei on 2018/4/16.
 */
public interface LiveShareClickRecordMapper {

    int add(LiveShareClickRecord liveShareClickRecord);

    List<ShareRankingListVo> getShareRankingList(@Param("livePlanId") int livePlanId);

    int getShareCountByUid(@Param("livePlanId") int livePlanId,@Param("userId") int userId);
}
